Resize the popup if necessary. (#308076, Vincent Noel)
authorMatthias Clasen <mclasen@redhat.com>
Fri, 17 Jun 2005 18:26:25 +0000 (18:26 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 17 Jun 2005 18:26:25 +0000 (18:26 +0000)
2005-06-17  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentrycompletion.c (gtk_entry_completion_complete):
Resize the popup if necessary.  (#308076, Vincent Noel)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
gtk/gtkentrycompletion.c

index ccf4ee61ab645773d67523857c0f8c2c21580bb3..4c22d3d4aba16e6687db973e7810a22a552b18cd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-06-17  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkentrycompletion.c (gtk_entry_completion_complete): 
+       Resize the popup if necessary.  (#308076, Vincent Noel)
+
        * gtk/gtkwindow.c (gtk_window_real_set_focus): Queue a
        draw on the old and new focus widgets, if their defaultness
        changes.  (#305607, Billy Biggs)
index ccf4ee61ab645773d67523857c0f8c2c21580bb3..4c22d3d4aba16e6687db973e7810a22a552b18cd 100644 (file)
@@ -1,5 +1,8 @@
 2005-06-17  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkentrycompletion.c (gtk_entry_completion_complete): 
+       Resize the popup if necessary.  (#308076, Vincent Noel)
+
        * gtk/gtkwindow.c (gtk_window_real_set_focus): Queue a
        draw on the old and new focus widgets, if their defaultness
        changes.  (#305607, Billy Biggs)
index ccf4ee61ab645773d67523857c0f8c2c21580bb3..4c22d3d4aba16e6687db973e7810a22a552b18cd 100644 (file)
@@ -1,5 +1,8 @@
 2005-06-17  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtkentrycompletion.c (gtk_entry_completion_complete): 
+       Resize the popup if necessary.  (#308076, Vincent Noel)
+
        * gtk/gtkwindow.c (gtk_window_real_set_focus): Queue a
        draw on the old and new focus widgets, if their defaultness
        changes.  (#305607, Billy Biggs)
index e9d03f6c1a6f1d3bf0ed8cb63e574fb3de58983a..28b8f9951177912ed9134d316c6b4e2edcb6f36d 100644 (file)
@@ -1132,6 +1132,9 @@ gtk_entry_completion_complete (GtkEntryCompletion *completion)
   g_free (tmp);
 
   gtk_tree_model_filter_refilter (completion->priv->filter_model);
+
+  if (GTK_WIDGET_VISIBLE (completion->priv->popup_window))
+    _gtk_entry_completion_resize_popup (completion);
 }
 
 static void